<?php

namespace App\Transformers\User;

use App\Models\UserLabelRelation;
use League\Fractal\TransformerAbstract;

class UserLabelRelationsTransformer extends TransformerAbstract
{
    public function transform(UserLabelRelation $userLabelRelation)
    {
        return [
            'user_id'=>$userLabelRelation->user_id ?? '',
            'label_id'=>$userLabelRelation->label_id ?? '',
        ];
    }
}
